package com.yisu.auction.api.domain.request.memberPackage;

import com.yisu.auction.api.domain.request.BasePage;
import org.apache.commons.lang.StringUtils;

/**
 * author: 赵杰
 * Business Description：登录/注册请求实体
 * createTime：2017/8/11
 */
public class LoginRequest extends BasePage {
    private String thirdId;
    private String type; // 1QQ  2微信 3 手机
    private String ico; //头像地址
    private String nickname; //昵称
    private String mobile;//手机号
    private String password; //密码
    private String code; //验证码

    public String getThirdId() {
        return thirdId;
    }

    public void setThirdId(String thirdId) {
        this.thirdId = thirdId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIco() {
        return ico;
    }

    public void setIco(String ico) {
        this.ico = ico;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    @Override
    public String toString() {
        return "LoginRequest{" +
                "thirdId='" + thirdId + '\'' +
                ", type='" + type + '\'' +
                ", ico='" + ico + '\'' +
                ", nickname='" + nickname + '\'' +
                ", mobile='" + mobile + '\'' +
                ", password='" + password + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
